CLKOUTSEL=SELECTS_THE_CPU_CLOC
Clock Output Configuration Register
CLKOUTSEL | Selects the clock source for the CLKOUT function. Other values are reserved. Do not use. 0 (SELECTS_THE_CPU_CLOC): Selects the CPU clock as the CLKOUT source. 1 (SELECTS_THE_MAIN_OSC): Selects the main oscillator as the CLKOUT source. 2 (SELECTS_THE_INTERNAL): Selects the Internal RC oscillator as the CLKOUT source. 3 (SELECTS_THE_USB_CLOC): Selects the USB clock as the CLKOUT source. 4 (SELECTS_THE_RTC_OSCI): Selects the RTC oscillator as the CLKOUT source. |
CLKOUTDIV | Integer value to divide the output clock by, minus one. 0 = Clock is divided by 1 1 = Clock is divided by 2. 2 = Clock is divided by 3. … 15 = Clock is divided by 16. |
CLKOUT_EN | CLKOUT enable control, allows switching the CLKOUT source without glitches. Clear to stop CLKOUT on the next falling edge. Set to enable CLKOUT. |
CLKOUT_ACT | CLKOUT activity indication. Reads as 1 when CLKOUT is enabled. Read as 0 when CLKOUT has been disabled via the CLKOUT_EN bit and the clock has completed being stopped. |
RESERVED | Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. |